package com.cloudeasy.post.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * 投票实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class Vote implements Serializable {
    /**
     * Id
     */
    @Id
    private String id;
    /**
     * 用户Id
     */
    private String userId;
    /**
     * 回复Id
     */
    private String replyId;
    /**
     * 类型
     */
    private Integer type;
}
